package org.demo2;

import org.springframework.batch.core.JobExecution;
import org.springframework.batch.core.JobExecutionListener;


public class JobListener  implements JobExecutionListener {



    @Override
    public void beforeJob(JobExecution jobExecution) {
        System.out.println(111);
    }

    @Override
    public void afterJob(JobExecution jobExecution) {
        System.out.println(222);
    }
}
